#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)
#include<iostream>
using namespace std;
class A
{
private:
    char* m_cBuffer;
    int m_nLen;
public:
    A() 
	{ 
		m_cBuffer = new char[m_nLen];
	}
    ~A()
	{ 
		delete[] m_cBuffer;
	}
};
int main()
{
	int* p1 = new int;
	*p1 = 4;
	int* p2 = new int[10] {1, 2, 3, 4, 5};
	cout << *p1 << endl;
	A* p3 = new A;
	delete p3;
	return 0;
}